home *** CD-ROM | disk | FTP | other *** search
- -- card: 8451 from stack: in
- -- bmap block id: 8741
- -- flags: 0000
- -- background id: 3044
- -- name: Volume
- ----- HyperTalk script -----
- on closeCard
- put empty into background field "toconvert"
- put empty into background field "answer"
- end closeCard
-
-
-
- -- part 14 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=75 top=288 right=304 bottom=134
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Distance
- ----- HyperTalk script -----
- on mouseUp
- visual effect zoom open
- go to card Distance
- end mouseUp
-
-
-
- -- part 15 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=75 top=306 right=323 bottom=134
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Temperature
- ----- HyperTalk script -----
- on mouseUp
- visual effect zoom open
- go to card weight
- end mouseUp
-
-
-
- -- part 16 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=135 top=288 right=304 bottom=194
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Area
- ----- HyperTalk script -----
- on mouseUp
- visual effect zoom open
- go to card Area
- end mouseUp
-
-
-
- -- part 17 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=135 top=306 right=323 bottom=194
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Temperature
- ----- HyperTalk script -----
- on mouseUp
- visual effect zoom open
- go to card temperature
- end mouseUp
-
-
-
- -- part 18 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=282 top=55 right=82 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Cm to Inches (Cubed)
- ----- HyperTalk script -----
- on mouseUp
- put empty into background field "answer"
- get first word of background field "toconvert"
- put it into temp
- if temp is "-" then
- get second word of background field "toconvert"
- divide it by -1
- put it into temp
- end if
- put empty into background field "toconvert"
- if temp is empty then
- put temp && "0 Cu. Centimeters" into background field "toconvert"
- else
- put temp && " Cu. Centimeter" into background field "toconvert"
- end if
- multiply temp by 0.061
- put temp && " Cu. Inches" into background field "answer"
- put empty into temp
- end mouseUp
-
-
-
- -- part 19 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=282 top=87 right=114 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Inches to Cm (Cubed)
- ----- HyperTalk script -----
- on mouseUp
- put empty into background field "answer"
- get first word of background field "toconvert"
- put it into temp
- if temp is "-" then
- get second word of background field "toconvert"
- divide it by -1
- put it into temp
- end if
- put empty into background field "toconvert"
- if temp is empty then
- put temp && "0 Cu. Inches" into background field "toconvert"
- else
- put temp && " Cu. Inches" into background field "toconvert"
- end if
- divide temp by 0.061
- put temp && " Cu. Centimeters" into background field "answer"
- put empty into temp
- end mouseUp
-
-
-
- -- part 20 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=282 top=122 right=149 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Meters to Feet (Cubed)
- ----- HyperTalk script -----
- on mouseUp
- put empty into background field "answer"
- get first word of background field "toconvert"
- put it into temp
- if temp is "-" then
- get second word of background field "toconvert"
- divide it by -1
- put it into temp
- end if
- put empty into background field "toconvert"
- if temp is empty then
- put temp && "0 Cu. Meters" into background field "toconvert"
- else
- put temp && " Cu. Meters" into background field "toconvert"
- end if
- multiply temp by 35.314
- put temp && " Cu. Feet" into background field "answer"
- put empty into temp
- end mouseUp
-
-
-
- -- part 21 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=282 top=154 right=181 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Feet to Meters (Cubed)
- ----- HyperTalk script -----
- on mouseUp
- put empty into background field "answer"
- get first word of background field "toconvert"
- put it into temp
- if temp is "-" then
- get second word of background field "toconvert"
- divide it by -1
- put it into temp
- end if
- put empty into background field "toconvert"
- if temp is empty then
- put temp && "0 Cu. Feet" into background field "toconvert"
- else
- put temp && " Cu. Feet" into background field "toconvert"
- end if
- divide temp by 35.314
- put temp && " Cu. Meters" into background field "answer"
- put empty into temp
- end mouseUp
-
-
-
- -- part 22 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=282 top=188 right=215 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Meters to Yards (Cubed)
- ----- HyperTalk script -----
- on mouseUp
- put empty into background field "answer"
- get first word of background field "toconvert"
- put it into temp
- if temp is "-" then
- get second word of background field "toconvert"
- divide it by -1
- put it into temp
- end if
- put empty into background field "toconvert"
- if temp is empty then
- put temp && "0 Cu. Meters" into background field "toconvert"
- else
- put temp && " Cu. Meters" into background field "toconvert"
- end if
- multiply temp by 1.308
- put temp && " Cu. Yards" into background field "answer"
- put empty into temp
- end mouseUp
-
-
-
- -- part 23 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=282 top=222 right=249 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Yards to Meters (Cubed)
- ----- HyperTalk script -----
- on mouseUp
- put empty into background field "answer"
- get first word of background field "toconvert"
- put it into temp
- if temp is "-" then
- get second word of background field "toconvert"
- divide it by -1
- put it into temp
- end if
- put empty into background field "toconvert"
- if temp is empty then
- put temp && "0 Cu. Yards" into background field "toconvert"
- else
- put temp && " Cu. Yards" into background field "toconvert"
- end if
- divide temp by 1.308
- put temp && " Cu. Meters" into background field "answer"
- put empty into temp
- end mouseUp
-
-
-
- -- part 24 (button)
- -- low flags: 80
- -- high flags: A003
- -- rect: left=283 top=258 right=285 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Additional Notes
- ----- HyperTalk script -----
- on mouseUp
- lock screen
- hide me
- show card field "AreaInfo"
- show card button "Done"
- end mouseUp
-
-
-
- -- part 25 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=283 top=290 right=317 bottom=474
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: More Conversions
- ----- HyperTalk script -----
- on mouseUp
- lock screen
- get background field "toconvert"
- go to card "Volume2"
- put it into background field "toconvert"
- end mouseUp
-
-
-
- -- part contents for background part 7
- ----- text -----
- Volume
- Conversions